﻿using CommunityToolkit.Mvvm.ComponentModel;

namespace WPFTest
{
    public partial class MenuViewModel(Type pageType, MenuAttribute menuAttribute) : ObservableObject
    {
        [ObservableProperty]
        private string _name = menuAttribute.Name;
        [ObservableProperty]
        private Type _pageType = pageType;
    }
}
